home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / gettext / projects / team-address < prev   
Encoding:
Text File  |  2007-03-05  |  410 b   |  17 lines

  1. #!/bin/sh
  2. # Print the team's address (to stdout) and output additional instructions
  3. # (to stderr).
  4. projectsdir="$1"
  5. progdir="$2"
  6. catalog="$3"  # e.g. "pt_BR"
  7. language="$4" # e.g. "pt"
  8.  
  9. for project in `cat "$projectsdir/index"`; do
  10.   if /bin/sh "$projectsdir/$project/trigger"; then
  11.     /bin/sh "$projectsdir/$project/team-address" "$projectsdir" "$progdir" "$catalog" "$language"
  12.     exit $?
  13.   fi
  14. done
  15.  
  16. exit 0
  17.